package com.youmu.shop.order.vo;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.youmu.shop.order.bean.OrderItemBean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "订单详情")
public class OrderDetailVo {
	
	@ApiModelProperty(value = "id")
	private long id;
	
	@ApiModelProperty(value = "订单号")
	private long sn;
	
	@ApiModelProperty(value = "订单状态")
	private int orderStatus;
	
	@ApiModelProperty(value = "商品项")
	private List<OrderItemBean> OrderItemBeans;
	
	@ApiModelProperty(value = "下单时间")
	private String createDate;
	
	@ApiModelProperty(value = "配送时间(日期+时间段)")
	private String sendTime;
	
	@ApiModelProperty(value = "配送截止时间(格式为 HH：mm)")
	private String sendEndTime;
	
	@ApiModelProperty(value = "订单备注")
	private String intro;
	
	@ApiModelProperty(value = "商品总计")
	private Integer totalQuality;
	
	@ApiModelProperty(value = "商品总金额")
	private double totalAmount;
	
	@ApiModelProperty(value = "运费")
	private double freight;
	
	@ApiModelProperty(value = "积分抵扣")
	private Integer shopingPoint;
	
	@ApiModelProperty(value = "优惠券折扣")
    private double priceExpression;
	
	@ApiModelProperty(value = "实付款")
    private double amountPaid;
	
	@ApiModelProperty(value = "实付款")
    private Long receiveId;
	
	@ApiModelProperty(value = "配送方式")
    private String shippingMethod;
	
	@ApiModelProperty(value = "商品详情")
    private Long shippingSn;
	
	@ApiModelProperty(value = "送货地址")
	private String address;
	/**
	 * 运单号
	 */
	private String snOut;
	/**
	 * 餐具费
	 */
	private BigDecimal fee;
	/**
	 * 即时时间戳
	 */
	private Long nowTime;
	
    public Long getNowTime() {
		return nowTime;
	}

	public void setNowTime(Long nowTime) {
		this.nowTime = nowTime;
	}

	public BigDecimal getFee() {
		return fee;
	}

	public void setFee(BigDecimal fee) {
		this.fee = fee;
	}

	public String getSnOut() {
		return snOut;
	}

	public void setSnOut(String snOut) {
		this.snOut = snOut;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getShippingMethod() {
        return shippingMethod;
    }

    public void setShippingMethod(String shippingMethod) {
        this.shippingMethod = shippingMethod;
    }

    public Long getShippingSn() {
		return shippingSn;
	}

	public void setShippingSn(Long shippingSn) {
		this.shippingSn = shippingSn;
	}

	public Long getReceiveId() {
		return receiveId;
	}

	public void setReceiveId(Long receiveId) {
		this.receiveId = receiveId;
	}

	public double getAmountPaid() {
		return amountPaid;
	}

	public void setAmountPaid(double amountPaid) {
		this.amountPaid = amountPaid;
	}

	public Integer getTotalQuality() {
		return totalQuality;
	}

	public void setTotalQuality(Integer totalQuality) {
		this.totalQuality = totalQuality;
	}

	public double getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(double totalAmount) {
		this.totalAmount = totalAmount;
	}

	public double getFreight() {
		return freight;
	}

	public void setFreight(double freight) {
		this.freight = freight;
	}

	public Integer getShopingPoint() {
		return shopingPoint;
	}

	public void setShopingPoint(Integer shopingPoint) {
		this.shopingPoint = shopingPoint;
	}
	
	public double getPriceExpression() {
		return priceExpression;
	}

	public void setPriceExpression(double priceExpression) {
		this.priceExpression = priceExpression;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getSn() {
		return sn;
	}

	public void setSn(long sn) {
		this.sn = sn;
	}

	public int getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(int orderStatus) {
		this.orderStatus = orderStatus;
	}

	public List<OrderItemBean> getOrderItemBeans() {
		return OrderItemBeans;
	}

	public void setOrderItemBeans(List<OrderItemBean> orderItemBeans) {
		OrderItemBeans = orderItemBeans;
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public String getSendTime() {
		return sendTime;
	}

	public void setSendTime(String sendTime) {
		this.sendTime = sendTime;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

    public String getSendEndTime() {
        return sendEndTime;
    }

    public void setSendEndTime(String sendEndTime) {
        this.sendEndTime = sendEndTime;
    }
}
